package cn.wolfcode.service;

import cn.wolfcode.domain.EmpNotice;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IEmpNoticeService {
    void save(EmpNotice empNotice);
    void delete(Long id);
    void update(EmpNotice empNotice);
    EmpNotice get(Long id);
    List<EmpNotice> listAll();
    // 分页查询的方法
    PageInfo<EmpNotice> query(QueryObject qo);

    void updateStatu(Long id, Long userId);

    int selectUnRead(Long id, boolean b);
}
